package com.gitee.wsl.ext

import com.gitee.wsl.ext.collection.loop
import kotlin.test.Test

class ArrayTest {
    @Test
    fun arrayLoopTest(){
        println("start array loop test")
        loop{
            (1..10).forEach{
                println()
                print(it)
                if( it == 8 ) return@loop
                if( it == 5)  return@forEach
                print("-it")
                println()
            }
        }
    }
}